﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace AddrDBContext.Model
{
    [DataContract]
    [Table("TAddress")]
    public class TAddress
    {
        public int Id { get; set; }

        /// <summary>
        /// 地址代码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 小区代码
        /// </summary>
        public string Community { get; set; }

        /// <summary>
        /// 栋号
        /// </summary>
        public string Building { get; set; }

        /// <summary>
        /// 单元号
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 层号（几楼）
        /// </summary>
        public string Floor { get; set; }

        /// <summary>
        /// 房间号码
        /// </summary>
        public string Room { get; set; }

        /// <summary>
        /// 详址
        /// </summary>
        public string XZ { get; set; }

        /// <summary>
        /// 房间ID
        /// </summary>
        public string FJID { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        public TAddress()
        {
            Id = 0;
        }
    }
}
